package org.plex.endpoints.imp;

import org.plex.endpoints.EndpointInvokeResult;
import org.plex.task.TaskInfo;
import org.plex.task.imp.TaskInfoImp;

public class EndpointInvokeResultImp implements EndpointInvokeResult {

	com.adobe.idp.taskmanager.dsc.client.endpoint.EndpointInvokeResult endpointInvokeResult;

	public com.adobe.idp.taskmanager.dsc.client.endpoint.EndpointInvokeResult getEndpointInvokeResult() {
		return endpointInvokeResult;
	}

	public void setEndpointInvokeResult(
			com.adobe.idp.taskmanager.dsc.client.endpoint.EndpointInvokeResult endpointInvokeResult) {
		this.endpointInvokeResult = endpointInvokeResult;
	}

	public EndpointInvokeResultImp(
			com.adobe.idp.taskmanager.dsc.client.endpoint.EndpointInvokeResult endpointInvokeResult)
			throws NullPointerException {
		if (null == endpointInvokeResult) {
			throw new NullPointerException();
		}
		this.endpointInvokeResult = endpointInvokeResult;
	}

	public TaskInfo getTaskInfo() {
		// TODO Auto-generated method stub
		return new TaskInfoImp(endpointInvokeResult.getTaskInfo());
	}

}
